include(${PROJECT_SOURCE_DIR}/CMakeFunctions.cmake)

file( GLOB TEST_SCHEME_ATOMS_SRCS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} test_*.c )
add_test_suite(
        SUITE check_scheme_atoms
        RUNNER ../runner_scheme.c
        TARGET scheme_atoms
        SOURCES ${TEST_SCHEME_ATOMS_SRCS})

add_cmocka_stubs(test_real_with_stubs
        int_add int_mul int_sub int_div
        fraction_add fraction_mul fraction_sub fraction_div
        decimal_add decimal_mul decimal_sub decimal_div
)

add_cmocka_stubs(test_complex_with_stubs
        real_add real_mul real_sub real_div
)

add_cmocka_stubs(test_number_with_stubs
        real_add real_mul real_sub real_div
        complex_add complex_mul complex_sub complex_div
)
